﻿///////////////////////////////////////////////////////////////
// This is generated code. 
//////////////////////////////////////////////////////////////
// Code is generated using LLBLGen Pro version: 4.2
// Code is generated on: 
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
// Templates vendor: Solutions Design.
// Templates version: 
//////////////////////////////////////////////////////////////
using System;
using SD.LLBLGen.Pro.ORMSupportClasses;

namespace VNet.VisiSuite.VisiBoard.Dal.HelperClasses
{
	
	// __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces
	// __LLBLGENPRO_USER_CODE_REGION_END
	
	/// <summary>Singleton implementation of the FieldInfoProvider. This class is the singleton wrapper through which the actual instance is retrieved.</summary>
	/// <remarks>It uses a single instance of an internal class. The access isn't marked with locks as the FieldInfoProviderBase class is threadsafe.</remarks>
	internal static class FieldInfoProviderSingleton
	{
		#region Class Member Declarations
		private static readonly IFieldInfoProvider _providerInstance = new FieldInfoProviderCore();
		#endregion

		/// <summary>Dummy static constructor to make sure threadsafe initialization is performed.</summary>
		static FieldInfoProviderSingleton()
		{
		}

		/// <summary>Gets the singleton instance of the FieldInfoProviderCore</summary>
		/// <returns>Instance of the FieldInfoProvider.</returns>
		public static IFieldInfoProvider GetInstance()
		{
			return _providerInstance;
		}
	}

	/// <summary>Actual implementation of the FieldInfoProvider. Used by singleton wrapper.</summary>
	internal class FieldInfoProviderCore : FieldInfoProviderBase
	{
		/// <summary>Initializes a new instance of the <see cref="FieldInfoProviderCore"/> class.</summary>
		internal FieldInfoProviderCore()
		{
			Init();
		}

		/// <summary>Method which initializes the internal datastores.</summary>
		private void Init()
		{
			this.InitClass( (25 + 0));
			InitAlarmSettingEntityInfos();
			InitAreaEntityInfos();
			InitAreaShiftEntityInfos();
			InitBraiderProductEntityInfos();
			InitCellEntityInfos();
			InitCellAlarmSettingEntityInfos();
			InitCellShiftEntityInfos();
			InitCellStatusEntityInfos();
			InitDatabaseVersionEntityInfos();
			InitFractionalInchEntityInfos();
			InitHoseSpecEntityInfos();
			InitLaunchApplicationEntityInfos();
			InitOperationEntityInfos();
			InitOperatorEntityInfos();
			InitOperatorAuthEntityInfos();
			InitPlantEntityInfos();
			InitProductEntityInfos();
			InitProductionHistoryEntityInfos();
			InitProductionHistoryDowntimeEventEntityInfos();
			InitProductionHistoryUndoBufferEntityInfos();
			InitProductionPlanEntityInfos();
			InitProductOperationTimeEntityInfos();
			InitReasonCodeEntityInfos();
			InitRollupDefinitionEntityInfos();
			InitTableDataChangeEntityInfos();

			this.ConstructElementFieldStructures(InheritanceInfoProviderSingleton.GetInstance());
		}

		/// <summary>Inits AlarmSettingEntity's FieldInfo objects</summary>
		private void InitAlarmSettingEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(AlarmSettingFieldIndex), "AlarmSettingEntity");
			this.AddElementFieldInfo("AlarmSettingEntity", "AlarmSettingId", typeof(System.Int32), true, false, false, false,  (int)AlarmSettingFieldIndex.AlarmSettingId, 0, 0, 10);
			this.AddElementFieldInfo("AlarmSettingEntity", "AreaId", typeof(System.Int32), false, true, false, false,  (int)AlarmSettingFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("AlarmSettingEntity", "Color", typeof(System.String), false, false, false, false,  (int)AlarmSettingFieldIndex.Color, 20, 0, 0);
			this.AddElementFieldInfo("AlarmSettingEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)AlarmSettingFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("AlarmSettingEntity", "FontColor", typeof(System.String), false, false, false, false,  (int)AlarmSettingFieldIndex.FontColor, 20, 0, 0);
			this.AddElementFieldInfo("AlarmSettingEntity", "MinPercentage100Bad", typeof(System.Int16), false, false, false, false,  (int)AlarmSettingFieldIndex.MinPercentage100Bad, 0, 0, 5);
			this.AddElementFieldInfo("AlarmSettingEntity", "MinPercentage100Good", typeof(System.Int16), false, false, false, false,  (int)AlarmSettingFieldIndex.MinPercentage100Good, 0, 0, 5);
			this.AddElementFieldInfo("AlarmSettingEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)AlarmSettingFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("AlarmSettingEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)AlarmSettingFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits AreaEntity's FieldInfo objects</summary>
		private void InitAreaEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(AreaFieldIndex), "AreaEntity");
			this.AddElementFieldInfo("AreaEntity", "AreaId", typeof(System.Int32), true, false, false, false,  (int)AreaFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "AreaName", typeof(System.String), false, false, false, false,  (int)AreaFieldIndex.AreaName, 40, 0, 0);
			this.AddElementFieldInfo("AreaEntity", "CloseWorkOrderReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)AreaFieldIndex.CloseWorkOrderReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "ContinuousProcess", typeof(System.Boolean), false, false, false, false,  (int)AreaFieldIndex.ContinuousProcess, 0, 0, 0);
			this.AddElementFieldInfo("AreaEntity", "Description", typeof(System.String), false, false, false, false,  (int)AreaFieldIndex.Description, 40, 0, 0);
			this.AddElementFieldInfo("AreaEntity", "GoodReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)AreaFieldIndex.GoodReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "MonthStartDay", typeof(System.Byte), false, false, false, false,  (int)AreaFieldIndex.MonthStartDay, 0, 0, 3);
			this.AddElementFieldInfo("AreaEntity", "NoWorkOrdersReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)AreaFieldIndex.NoWorkOrdersReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "PlannedReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)AreaFieldIndex.PlannedReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "PlantId", typeof(System.Int32), false, true, false, false,  (int)AreaFieldIndex.PlantId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "ProductionMeterLabelFreq", typeof(System.Int16), false, false, false, false,  (int)AreaFieldIndex.ProductionMeterLabelFreq, 0, 0, 5);
			this.AddElementFieldInfo("AreaEntity", "ProductionMeterWidth", typeof(System.Int16), false, false, false, false,  (int)AreaFieldIndex.ProductionMeterWidth, 0, 0, 5);
			this.AddElementFieldInfo("AreaEntity", "ReworkReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)AreaFieldIndex.ReworkReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "ScrapReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)AreaFieldIndex.ScrapReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "ShiftStartReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)AreaFieldIndex.ShiftStartReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("AreaEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)AreaFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("AreaEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)AreaFieldIndex.TimeStamp, 8, 0, 0);
			this.AddElementFieldInfo("AreaEntity", "WeekStartDay", typeof(System.Byte), false, false, false, false,  (int)AreaFieldIndex.WeekStartDay, 0, 0, 3);
		}
		/// <summary>Inits AreaShiftEntity's FieldInfo objects</summary>
		private void InitAreaShiftEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(AreaShiftFieldIndex), "AreaShiftEntity");
			this.AddElementFieldInfo("AreaShiftEntity", "AreaId", typeof(System.Int32), false, true, false, false,  (int)AreaShiftFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("AreaShiftEntity", "AreaShiftId", typeof(System.Int32), true, false, false, false,  (int)AreaShiftFieldIndex.AreaShiftId, 0, 0, 10);
			this.AddElementFieldInfo("AreaShiftEntity", "Description", typeof(System.String), false, false, false, false,  (int)AreaShiftFieldIndex.Description, 40, 0, 0);
			this.AddElementFieldInfo("AreaShiftEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)AreaShiftFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("AreaShiftEntity", "EndTime", typeof(System.DateTime), false, false, false, false,  (int)AreaShiftFieldIndex.EndTime, 0, 0, 0);
			this.AddElementFieldInfo("AreaShiftEntity", "Hidden", typeof(System.Boolean), false, false, false, false,  (int)AreaShiftFieldIndex.Hidden, 0, 0, 0);
			this.AddElementFieldInfo("AreaShiftEntity", "StartTime", typeof(System.DateTime), false, false, false, false,  (int)AreaShiftFieldIndex.StartTime, 0, 0, 0);
			this.AddElementFieldInfo("AreaShiftEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)AreaShiftFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("AreaShiftEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)AreaShiftFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits BraiderProductEntity's FieldInfo objects</summary>
		private void InitBraiderProductEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(BraiderProductFieldIndex), "BraiderProductEntity");
			this.AddElementFieldInfo("BraiderProductEntity", "BraiderNumber", typeof(System.Int16), false, false, false, false,  (int)BraiderProductFieldIndex.BraiderNumber, 0, 0, 5);
			this.AddElementFieldInfo("BraiderProductEntity", "BraiderProductId", typeof(System.Int32), true, false, true, false,  (int)BraiderProductFieldIndex.BraiderProductId, 0, 0, 10);
			this.AddElementFieldInfo("BraiderProductEntity", "BraiderType", typeof(System.String), false, false, false, false,  (int)BraiderProductFieldIndex.BraiderType, 5, 0, 0);
			this.AddElementFieldInfo("BraiderProductEntity", "CarrierCount", typeof(System.Int16), false, false, false, false,  (int)BraiderProductFieldIndex.CarrierCount, 0, 0, 5);
			this.AddElementFieldInfo("BraiderProductEntity", "DeckCount", typeof(System.Int16), false, false, false, false,  (int)BraiderProductFieldIndex.DeckCount, 0, 0, 5);
			this.AddElementFieldInfo("BraiderProductEntity", "FeetPerMinute", typeof(System.Decimal), false, false, false, false,  (int)BraiderProductFieldIndex.FeetPerMinute, 0, 2, 8);
			this.AddElementFieldInfo("BraiderProductEntity", "HoseCount", typeof(System.Int16), false, false, false, false,  (int)BraiderProductFieldIndex.HoseCount, 0, 0, 5);
			this.AddElementFieldInfo("BraiderProductEntity", "HoseSize", typeof(System.String), false, false, false, false,  (int)BraiderProductFieldIndex.HoseSize, 40, 0, 0);
			this.AddElementFieldInfo("BraiderProductEntity", "HoseSpec", typeof(System.String), false, false, false, false,  (int)BraiderProductFieldIndex.HoseSpec, 40, 0, 0);
			this.AddElementFieldInfo("BraiderProductEntity", "OperatorId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)BraiderProductFieldIndex.OperatorId, 0, 0, 10);
			this.AddElementFieldInfo("BraiderProductEntity", "ServerId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)BraiderProductFieldIndex.ServerId, 0, 0, 10);
			this.AddElementFieldInfo("BraiderProductEntity", "Split", typeof(System.Boolean), false, false, false, false,  (int)BraiderProductFieldIndex.Split, 0, 0, 0);
			this.AddElementFieldInfo("BraiderProductEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)BraiderProductFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("BraiderProductEntity", "TimeStamp", typeof(System.Byte[]), false, false, true, false,  (int)BraiderProductFieldIndex.TimeStamp, 2147483647, 0, 0);
		}
		/// <summary>Inits CellEntity's FieldInfo objects</summary>
		private void InitCellEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(CellFieldIndex), "CellEntity");
			this.AddElementFieldInfo("CellEntity", "AreaId", typeof(System.Int32), false, true, false, false,  (int)CellFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("CellEntity", "CellId", typeof(System.Int32), true, false, false, false,  (int)CellFieldIndex.CellId, 0, 0, 10);
			this.AddElementFieldInfo("CellEntity", "CellName", typeof(System.String), false, false, false, false,  (int)CellFieldIndex.CellName, 40, 0, 0);
			this.AddElementFieldInfo("CellEntity", "Description", typeof(System.String), false, false, false, false,  (int)CellFieldIndex.Description, 40, 0, 0);
			this.AddElementFieldInfo("CellEntity", "Operators", typeof(System.Int16), false, false, false, false,  (int)CellFieldIndex.Operators, 0, 0, 5);
			this.AddElementFieldInfo("CellEntity", "Password", typeof(System.String), false, false, false, false,  (int)CellFieldIndex.Password, 32, 0, 0);
			this.AddElementFieldInfo("CellEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)CellFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("CellEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)CellFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits CellAlarmSettingEntity's FieldInfo objects</summary>
		private void InitCellAlarmSettingEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(CellAlarmSettingFieldIndex), "CellAlarmSettingEntity");
			this.AddElementFieldInfo("CellAlarmSettingEntity", "CellAlarmSettingId", typeof(System.Int32), true, false, false, false,  (int)CellAlarmSettingFieldIndex.CellAlarmSettingId, 0, 0, 10);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "CellId", typeof(System.Int32), false, true, false, false,  (int)CellAlarmSettingFieldIndex.CellId, 0, 0, 10);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "Color", typeof(System.String), false, false, false, false,  (int)CellAlarmSettingFieldIndex.Color, 20, 0, 0);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)CellAlarmSettingFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "FontColor", typeof(System.String), false, false, false, false,  (int)CellAlarmSettingFieldIndex.FontColor, 20, 0, 0);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "MinPercentage100Bad", typeof(System.Int16), false, false, false, false,  (int)CellAlarmSettingFieldIndex.MinPercentage100Bad, 0, 0, 5);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "MinPercentage100Good", typeof(System.Int16), false, false, false, false,  (int)CellAlarmSettingFieldIndex.MinPercentage100Good, 0, 0, 5);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)CellAlarmSettingFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("CellAlarmSettingEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)CellAlarmSettingFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits CellShiftEntity's FieldInfo objects</summary>
		private void InitCellShiftEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(CellShiftFieldIndex), "CellShiftEntity");
			this.AddElementFieldInfo("CellShiftEntity", "AreaShiftId", typeof(System.Int32), false, true, false, false,  (int)CellShiftFieldIndex.AreaShiftId, 0, 0, 10);
			this.AddElementFieldInfo("CellShiftEntity", "CellId", typeof(System.Int32), false, true, false, false,  (int)CellShiftFieldIndex.CellId, 0, 0, 10);
			this.AddElementFieldInfo("CellShiftEntity", "CellShiftId", typeof(System.Int32), true, false, true, false,  (int)CellShiftFieldIndex.CellShiftId, 0, 0, 10);
			this.AddElementFieldInfo("CellShiftEntity", "EndTime", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)CellShiftFieldIndex.EndTime, 0, 0, 0);
			this.AddElementFieldInfo("CellShiftEntity", "ServerId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)CellShiftFieldIndex.ServerId, 0, 0, 10);
			this.AddElementFieldInfo("CellShiftEntity", "StartTime", typeof(System.DateTime), false, false, false, false,  (int)CellShiftFieldIndex.StartTime, 0, 0, 0);
			this.AddElementFieldInfo("CellShiftEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)CellShiftFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("CellShiftEntity", "TimeStamp", typeof(System.Byte[]), false, false, true, false,  (int)CellShiftFieldIndex.TimeStamp, 2147483647, 0, 0);
		}
		/// <summary>Inits CellStatusEntity's FieldInfo objects</summary>
		private void InitCellStatusEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(CellStatusFieldIndex), "CellStatusEntity");
			this.AddElementFieldInfo("CellStatusEntity", "CellId", typeof(System.Int32), false, true, false, false,  (int)CellStatusFieldIndex.CellId, 0, 0, 10);
			this.AddElementFieldInfo("CellStatusEntity", "CellStatusId", typeof(System.Int32), true, false, true, false,  (int)CellStatusFieldIndex.CellStatusId, 0, 0, 10);
			this.AddElementFieldInfo("CellStatusEntity", "EventTime", typeof(System.DateTime), false, false, false, false,  (int)CellStatusFieldIndex.EventTime, 0, 0, 0);
			this.AddElementFieldInfo("CellStatusEntity", "Flags", typeof(System.Int32), false, false, false, false,  (int)CellStatusFieldIndex.Flags, 0, 0, 10);
			this.AddElementFieldInfo("CellStatusEntity", "Offline", typeof(System.Boolean), false, false, false, false,  (int)CellStatusFieldIndex.Offline, 0, 0, 0);
			this.AddElementFieldInfo("CellStatusEntity", "ReasonCodeId", typeof(System.Int32), false, true, false, false,  (int)CellStatusFieldIndex.ReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("CellStatusEntity", "Status", typeof(System.Int32), false, false, false, false,  (int)CellStatusFieldIndex.Status, 0, 0, 10);
			this.AddElementFieldInfo("CellStatusEntity", "TimeStamp", typeof(System.Byte[]), false, false, true, false,  (int)CellStatusFieldIndex.TimeStamp, 2147483647, 0, 0);
		}
		/// <summary>Inits DatabaseVersionEntity's FieldInfo objects</summary>
		private void InitDatabaseVersionEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(DatabaseVersionFieldIndex), "DatabaseVersionEntity");
			this.AddElementFieldInfo("DatabaseVersionEntity", "CreatedDate", typeof(System.DateTime), false, false, false, false,  (int)DatabaseVersionFieldIndex.CreatedDate, 0, 0, 0);
			this.AddElementFieldInfo("DatabaseVersionEntity", "DatabaseVersionId", typeof(System.Int32), true, false, true, false,  (int)DatabaseVersionFieldIndex.DatabaseVersionId, 0, 0, 10);
			this.AddElementFieldInfo("DatabaseVersionEntity", "VersionNumber", typeof(System.String), false, false, false, false,  (int)DatabaseVersionFieldIndex.VersionNumber, 40, 0, 0);
		}
		/// <summary>Inits FractionalInchEntity's FieldInfo objects</summary>
		private void InitFractionalInchEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(FractionalInchFieldIndex), "FractionalInchEntity");
			this.AddElementFieldInfo("FractionalInchEntity", "Description", typeof(System.String), false, false, false, false,  (int)FractionalInchFieldIndex.Description, 8, 0, 0);
			this.AddElementFieldInfo("FractionalInchEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)FractionalInchFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("FractionalInchEntity", "FractionalInchesId", typeof(System.Int32), true, false, false, false,  (int)FractionalInchFieldIndex.FractionalInchesId, 0, 0, 10);
			this.AddElementFieldInfo("FractionalInchEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)FractionalInchFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("FractionalInchEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)FractionalInchFieldIndex.TimeStamp, 8, 0, 0);
			this.AddElementFieldInfo("FractionalInchEntity", "Value", typeof(System.Decimal), false, false, false, false,  (int)FractionalInchFieldIndex.Value, 0, 5, 8);
		}
		/// <summary>Inits HoseSpecEntity's FieldInfo objects</summary>
		private void InitHoseSpecEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HoseSpecFieldIndex), "HoseSpecEntity");
			this.AddElementFieldInfo("HoseSpecEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)HoseSpecFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("HoseSpecEntity", "FtPerMin", typeof(System.Decimal), false, false, false, false,  (int)HoseSpecFieldIndex.FtPerMin, 0, 2, 8);
			this.AddElementFieldInfo("HoseSpecEntity", "FtPerMinAlt", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)HoseSpecFieldIndex.FtPerMinAlt, 0, 2, 8);
			this.AddElementFieldInfo("HoseSpecEntity", "FtPerMinRb2", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)HoseSpecFieldIndex.FtPerMinRb2, 0, 2, 8);
			this.AddElementFieldInfo("HoseSpecEntity", "HoseSpecId", typeof(System.Int32), true, false, false, false,  (int)HoseSpecFieldIndex.HoseSpecId, 0, 0, 10);
			this.AddElementFieldInfo("HoseSpecEntity", "Size", typeof(System.String), false, false, false, false,  (int)HoseSpecFieldIndex.Size, 40, 0, 0);
			this.AddElementFieldInfo("HoseSpecEntity", "Spec", typeof(System.String), false, false, false, false,  (int)HoseSpecFieldIndex.Spec, 40, 0, 0);
			this.AddElementFieldInfo("HoseSpecEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)HoseSpecFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("HoseSpecEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)HoseSpecFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits LaunchApplicationEntity's FieldInfo objects</summary>
		private void InitLaunchApplicationEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(LaunchApplicationFieldIndex), "LaunchApplicationEntity");
			this.AddElementFieldInfo("LaunchApplicationEntity", "Application", typeof(System.String), false, false, false, false,  (int)LaunchApplicationFieldIndex.Application, 128, 0, 0);
			this.AddElementFieldInfo("LaunchApplicationEntity", "AreaId", typeof(System.Int32), false, true, false, false,  (int)LaunchApplicationFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("LaunchApplicationEntity", "Arguments", typeof(System.String), false, false, false, true,  (int)LaunchApplicationFieldIndex.Arguments, 128, 0, 0);
			this.AddElementFieldInfo("LaunchApplicationEntity", "Description", typeof(System.String), false, false, false, false,  (int)LaunchApplicationFieldIndex.Description, 40, 0, 0);
			this.AddElementFieldInfo("LaunchApplicationEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)LaunchApplicationFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("LaunchApplicationEntity", "LaunchApplicationId", typeof(System.Int32), true, false, true, false,  (int)LaunchApplicationFieldIndex.LaunchApplicationId, 0, 0, 10);
			this.AddElementFieldInfo("LaunchApplicationEntity", "SortOrder", typeof(System.Int32), false, false, false, false,  (int)LaunchApplicationFieldIndex.SortOrder, 0, 0, 10);
			this.AddElementFieldInfo("LaunchApplicationEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)LaunchApplicationFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("LaunchApplicationEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)LaunchApplicationFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits OperationEntity's FieldInfo objects</summary>
		private void InitOperationEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(OperationFieldIndex), "OperationEntity");
			this.AddElementFieldInfo("OperationEntity", "Description", typeof(System.String), false, false, false, false,  (int)OperationFieldIndex.Description, 50, 0, 0);
			this.AddElementFieldInfo("OperationEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)OperationFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("OperationEntity", "OperationId", typeof(System.Int32), true, false, false, false,  (int)OperationFieldIndex.OperationId, 0, 0, 10);
			this.AddElementFieldInfo("OperationEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)OperationFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits OperatorEntity's FieldInfo objects</summary>
		private void InitOperatorEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(OperatorFieldIndex), "OperatorEntity");
			this.AddElementFieldInfo("OperatorEntity", "Active", typeof(System.Boolean), false, false, false, false,  (int)OperatorFieldIndex.Active, 0, 0, 0);
			this.AddElementFieldInfo("OperatorEntity", "EmployeeCode", typeof(System.String), false, false, false, false,  (int)OperatorFieldIndex.EmployeeCode, 10, 0, 0);
			this.AddElementFieldInfo("OperatorEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)OperatorFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("OperatorEntity", "FirstName", typeof(System.String), false, false, false, false,  (int)OperatorFieldIndex.FirstName, 40, 0, 0);
			this.AddElementFieldInfo("OperatorEntity", "LastName", typeof(System.String), false, false, false, false,  (int)OperatorFieldIndex.LastName, 40, 0, 0);
			this.AddElementFieldInfo("OperatorEntity", "OperatorId", typeof(System.Int32), true, false, false, false,  (int)OperatorFieldIndex.OperatorId, 0, 0, 10);
			this.AddElementFieldInfo("OperatorEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)OperatorFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("OperatorEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)OperatorFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits OperatorAuthEntity's FieldInfo objects</summary>
		private void InitOperatorAuthEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(OperatorAuthFieldIndex), "OperatorAuthEntity");
			this.AddElementFieldInfo("OperatorAuthEntity", "OperationId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)OperatorAuthFieldIndex.OperationId, 0, 0, 10);
			this.AddElementFieldInfo("OperatorAuthEntity", "OperatorAuthId", typeof(System.Int32), true, false, true, false,  (int)OperatorAuthFieldIndex.OperatorAuthId, 0, 0, 10);
			this.AddElementFieldInfo("OperatorAuthEntity", "OperatorId", typeof(System.Int32), false, true, false, false,  (int)OperatorAuthFieldIndex.OperatorId, 0, 0, 10);
		}
		/// <summary>Inits PlantEntity's FieldInfo objects</summary>
		private void InitPlantEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(PlantFieldIndex), "PlantEntity");
			this.AddElementFieldInfo("PlantEntity", "DateFormat", typeof(System.String), false, false, false, false,  (int)PlantFieldIndex.DateFormat, 40, 0, 0);
			this.AddElementFieldInfo("PlantEntity", "Description", typeof(System.String), false, false, false, false,  (int)PlantFieldIndex.Description, 40, 0, 0);
			this.AddElementFieldInfo("PlantEntity", "PlantId", typeof(System.Int32), true, false, false, false,  (int)PlantFieldIndex.PlantId, 0, 0, 10);
			this.AddElementFieldInfo("PlantEntity", "PlantName", typeof(System.String), false, false, false, false,  (int)PlantFieldIndex.PlantName, 40, 0, 0);
			this.AddElementFieldInfo("PlantEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)PlantFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("PlantEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)PlantFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits ProductEntity's FieldInfo objects</summary>
		private void InitProductEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductFieldIndex), "ProductEntity");
			this.AddElementFieldInfo("ProductEntity", "Description", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Description, 80, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)ProductFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "ProductId", typeof(System.Int32), true, false, false, false,  (int)ProductFieldIndex.ProductId, 0, 0, 10);
			this.AddElementFieldInfo("ProductEntity", "Revision", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Revision, 10, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Sku", typeof(System.String), false, false, false, false,  (int)ProductFieldIndex.Sku, 80, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)ProductFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("ProductEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)ProductFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits ProductionHistoryEntity's FieldInfo objects</summary>
		private void InitProductionHistoryEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductionHistoryFieldIndex), "ProductionHistoryEntity");
			this.AddElementFieldInfo("ProductionHistoryEntity", "BraiderProductId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductionHistoryFieldIndex.BraiderProductId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "CellShiftId", typeof(System.Int32), false, true, false, false,  (int)ProductionHistoryFieldIndex.CellShiftId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "DowntimeAckTime", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductionHistoryFieldIndex.DowntimeAckTime, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryEntity", "EndTime", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductionHistoryFieldIndex.EndTime, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryEntity", "LastUpdated", typeof(System.DateTime), false, false, false, false,  (int)ProductionHistoryFieldIndex.LastUpdated, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryEntity", "OperatorId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductionHistoryFieldIndex.OperatorId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "Operators", typeof(Nullable<System.Int16>), false, false, false, true,  (int)ProductionHistoryFieldIndex.Operators, 0, 0, 5);
			this.AddElementFieldInfo("ProductionHistoryEntity", "ProductionHistoryId", typeof(System.Int32), true, false, true, false,  (int)ProductionHistoryFieldIndex.ProductionHistoryId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "ProductionPlanId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductionHistoryFieldIndex.ProductionPlanId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "ReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductionHistoryFieldIndex.ReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "ServerId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryFieldIndex.ServerId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "StartTime", typeof(System.DateTime), false, false, false, false,  (int)ProductionHistoryFieldIndex.StartTime, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)ProductionHistoryFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("ProductionHistoryEntity", "TimeStamp", typeof(System.Byte[]), false, false, true, false,  (int)ProductionHistoryFieldIndex.TimeStamp, 2147483647, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryEntity", "VisiBoxKey", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryFieldIndex.VisiBoxKey, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryEntity", "WorkContent", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductionHistoryFieldIndex.WorkContent, 0, 2, 10);
		}
		/// <summary>Inits ProductionHistoryDowntimeEventEntity's FieldInfo objects</summary>
		private void InitProductionHistoryDowntimeEventEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductionHistoryDowntimeEventFieldIndex), "ProductionHistoryDowntimeEventEntity");
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "EventTime", typeof(System.DateTime), false, false, false, false,  (int)ProductionHistoryDowntimeEventFieldIndex.EventTime, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "LastUpdated", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductionHistoryDowntimeEventFieldIndex.LastUpdated, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "ProductionHistoryDowntimeEventId", typeof(System.Int32), true, false, true, false,  (int)ProductionHistoryDowntimeEventFieldIndex.ProductionHistoryDowntimeEventId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "ProductionHistoryId", typeof(System.Int32), false, true, false, false,  (int)ProductionHistoryDowntimeEventFieldIndex.ProductionHistoryId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "ReasonCodeId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductionHistoryDowntimeEventFieldIndex.ReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "ServerId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryDowntimeEventFieldIndex.ServerId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)ProductionHistoryDowntimeEventFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "TimeStamp", typeof(System.Byte[]), false, false, true, false,  (int)ProductionHistoryDowntimeEventFieldIndex.TimeStamp, 2147483647, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryDowntimeEventEntity", "VisiBoxKey", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryDowntimeEventFieldIndex.VisiBoxKey, 0, 0, 10);
		}
		/// <summary>Inits ProductionHistoryUndoBufferEntity's FieldInfo objects</summary>
		private void InitProductionHistoryUndoBufferEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductionHistoryUndoBufferFieldIndex), "ProductionHistoryUndoBufferEntity");
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "CellShiftId", typeof(System.Int32), false, false, false, false,  (int)ProductionHistoryUndoBufferFieldIndex.CellShiftId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "EndTime", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductionHistoryUndoBufferFieldIndex.EndTime, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "LastSync", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductionHistoryUndoBufferFieldIndex.LastSync, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "LastUpdated", typeof(System.DateTime), false, false, false, false,  (int)ProductionHistoryUndoBufferFieldIndex.LastUpdated, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "Operators", typeof(Nullable<System.Int16>), false, false, false, true,  (int)ProductionHistoryUndoBufferFieldIndex.Operators, 0, 0, 5);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "PartialPosting", typeof(System.Boolean), false, false, false, false,  (int)ProductionHistoryUndoBufferFieldIndex.PartialPosting, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "ProductionHistoryId", typeof(System.Int32), false, false, false, false,  (int)ProductionHistoryUndoBufferFieldIndex.ProductionHistoryId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "ProductionHistoryUndoBufferId", typeof(System.Int32), true, false, true, false,  (int)ProductionHistoryUndoBufferFieldIndex.ProductionHistoryUndoBufferId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "ProductionPlanId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryUndoBufferFieldIndex.ProductionPlanId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "ReasonCodeId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryUndoBufferFieldIndex.ReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "ServerId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryUndoBufferFieldIndex.ServerId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "StartTime", typeof(System.DateTime), false, false, false, false,  (int)ProductionHistoryUndoBufferFieldIndex.StartTime, 0, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)ProductionHistoryUndoBufferFieldIndex.TimeStamp, 8, 0, 0);
			this.AddElementFieldInfo("ProductionHistoryUndoBufferEntity", "WorkContent", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionHistoryUndoBufferFieldIndex.WorkContent, 0, 0, 10);
		}
		/// <summary>Inits ProductionPlanEntity's FieldInfo objects</summary>
		private void InitProductionPlanEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductionPlanFieldIndex), "ProductionPlanEntity");
			this.AddElementFieldInfo("ProductionPlanEntity", "Actual", typeof(System.Int32), false, false, false, false,  (int)ProductionPlanFieldIndex.Actual, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "ActualDate", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductionPlanFieldIndex.ActualDate, 0, 0, 0);
			this.AddElementFieldInfo("ProductionPlanEntity", "CellId", typeof(System.Int32), false, true, false, false,  (int)ProductionPlanFieldIndex.CellId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "Closed", typeof(System.Boolean), false, false, false, false,  (int)ProductionPlanFieldIndex.Closed, 0, 0, 0);
			this.AddElementFieldInfo("ProductionPlanEntity", "DueDate", typeof(System.DateTime), false, false, false, false,  (int)ProductionPlanFieldIndex.DueDate, 0, 0, 0);
			this.AddElementFieldInfo("ProductionPlanEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)ProductionPlanFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("ProductionPlanEntity", "OperationId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductionPlanFieldIndex.OperationId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "OperationPass", typeof(Nullable<System.Int16>), false, false, false, true,  (int)ProductionPlanFieldIndex.OperationPass, 0, 0, 5);
			this.AddElementFieldInfo("ProductionPlanEntity", "Planned", typeof(System.Int32), false, false, false, false,  (int)ProductionPlanFieldIndex.Planned, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "ProductId", typeof(System.Int32), false, true, false, false,  (int)ProductionPlanFieldIndex.ProductId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "ProductionPlanId", typeof(System.Int32), true, false, false, false,  (int)ProductionPlanFieldIndex.ProductionPlanId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "SortOrder", typeof(System.Int32), false, false, false, false,  (int)ProductionPlanFieldIndex.SortOrder, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "StationId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductionPlanFieldIndex.StationId, 0, 0, 10);
			this.AddElementFieldInfo("ProductionPlanEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)ProductionPlanFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("ProductionPlanEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)ProductionPlanFieldIndex.TimeStamp, 8, 0, 0);
			this.AddElementFieldInfo("ProductionPlanEntity", "WorkOrder", typeof(System.String), false, false, false, false,  (int)ProductionPlanFieldIndex.WorkOrder, 20, 0, 0);
		}
		/// <summary>Inits ProductOperationTimeEntity's FieldInfo objects</summary>
		private void InitProductOperationTimeEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductOperationTimeFieldIndex), "ProductOperationTimeEntity");
			this.AddElementFieldInfo("ProductOperationTimeEntity", "CycleTime", typeof(System.Int32), false, false, false, false,  (int)ProductOperationTimeFieldIndex.CycleTime, 0, 0, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)ProductOperationTimeFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "LoadUnloadTime", typeof(System.Int32), false, false, false, false,  (int)ProductOperationTimeFieldIndex.LoadUnloadTime, 0, 0, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "OperationId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductOperationTimeFieldIndex.OperationId, 0, 0, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "OperationPass", typeof(Nullable<System.Int16>), false, false, false, true,  (int)ProductOperationTimeFieldIndex.OperationPass, 0, 0, 5);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "PartTime", typeof(System.Int32), false, false, false, false,  (int)ProductOperationTimeFieldIndex.PartTime, 0, 0, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "ProductId", typeof(System.Int32), false, true, false, false,  (int)ProductOperationTimeFieldIndex.ProductId, 0, 0, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "ProductOperationTimeId", typeof(System.Int32), true, false, false, false,  (int)ProductOperationTimeFieldIndex.ProductOperationTimeId, 0, 0, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "Rate", typeof(System.Decimal), false, false, false, false,  (int)ProductOperationTimeFieldIndex.Rate, 0, 2, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "SetupTime", typeof(System.Int32), false, false, false, false,  (int)ProductOperationTimeFieldIndex.SetupTime, 0, 0, 10);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)ProductOperationTimeFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("ProductOperationTimeEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)ProductOperationTimeFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits ReasonCodeEntity's FieldInfo objects</summary>
		private void InitReasonCodeEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ReasonCodeFieldIndex), "ReasonCodeEntity");
			this.AddElementFieldInfo("ReasonCodeEntity", "AreaId", typeof(System.Int32), false, true, false, false,  (int)ReasonCodeFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("ReasonCodeEntity", "Category", typeof(System.Int16), false, false, false, false,  (int)ReasonCodeFieldIndex.Category, 0, 0, 5);
			this.AddElementFieldInfo("ReasonCodeEntity", "Description", typeof(System.String), false, false, false, false,  (int)ReasonCodeFieldIndex.Description, 40, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "DisplayInDowntimeChart", typeof(System.Boolean), false, false, false, false,  (int)ReasonCodeFieldIndex.DisplayInDowntimeChart, 0, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)ReasonCodeFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "FlashDelay", typeof(Nullable<System.Int16>), false, false, false, true,  (int)ReasonCodeFieldIndex.FlashDelay, 0, 0, 5);
			this.AddElementFieldInfo("ReasonCodeEntity", "HideChildren", typeof(System.Boolean), false, false, false, false,  (int)ReasonCodeFieldIndex.HideChildren, 0, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "IgnoreInOeeCalc", typeof(System.Boolean), false, false, false, false,  (int)ReasonCodeFieldIndex.IgnoreInOeeCalc, 0, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "IgnoreInWaitingCalc", typeof(System.Boolean), false, false, false, false,  (int)ReasonCodeFieldIndex.IgnoreInWaitingCalc, 0, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "IgnoreVisiBoxEvents", typeof(System.Boolean), false, false, false, false,  (int)ReasonCodeFieldIndex.IgnoreVisiBoxEvents, 0, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "Level", typeof(System.Int32), false, false, false, false,  (int)ReasonCodeFieldIndex.Level, 0, 0, 10);
			this.AddElementFieldInfo("ReasonCodeEntity", "LinkId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ReasonCodeFieldIndex.LinkId, 0, 0, 10);
			this.AddElementFieldInfo("ReasonCodeEntity", "ParentId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ReasonCodeFieldIndex.ParentId, 0, 0, 10);
			this.AddElementFieldInfo("ReasonCodeEntity", "ReasonCodeId", typeof(System.Int32), true, false, false, false,  (int)ReasonCodeFieldIndex.ReasonCodeId, 0, 0, 10);
			this.AddElementFieldInfo("ReasonCodeEntity", "RollupDefinitionId", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ReasonCodeFieldIndex.RollupDefinitionId, 0, 0, 10);
			this.AddElementFieldInfo("ReasonCodeEntity", "Scrap", typeof(System.Boolean), false, false, false, false,  (int)ReasonCodeFieldIndex.Scrap, 0, 0, 0);
			this.AddElementFieldInfo("ReasonCodeEntity", "ShopClockEvent", typeof(System.Int16), false, false, false, false,  (int)ReasonCodeFieldIndex.ShopClockEvent, 0, 0, 5);
			this.AddElementFieldInfo("ReasonCodeEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)ReasonCodeFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("ReasonCodeEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)ReasonCodeFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits RollupDefinitionEntity's FieldInfo objects</summary>
		private void InitRollupDefinitionEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(RollupDefinitionFieldIndex), "RollupDefinitionEntity");
			this.AddElementFieldInfo("RollupDefinitionEntity", "AreaId", typeof(System.Int32), false, true, false, false,  (int)RollupDefinitionFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("RollupDefinitionEntity", "Color", typeof(System.String), false, false, false, false,  (int)RollupDefinitionFieldIndex.Color, 20, 0, 0);
			this.AddElementFieldInfo("RollupDefinitionEntity", "Description", typeof(System.String), false, false, false, false,  (int)RollupDefinitionFieldIndex.Description, 40, 0, 0);
			this.AddElementFieldInfo("RollupDefinitionEntity", "Enabled", typeof(System.Boolean), false, false, false, false,  (int)RollupDefinitionFieldIndex.Enabled, 0, 0, 0);
			this.AddElementFieldInfo("RollupDefinitionEntity", "FlashingTimeout", typeof(System.Int32), false, false, false, false,  (int)RollupDefinitionFieldIndex.FlashingTimeout, 0, 0, 10);
			this.AddElementFieldInfo("RollupDefinitionEntity", "FontColor", typeof(System.String), false, false, false, false,  (int)RollupDefinitionFieldIndex.FontColor, 20, 0, 0);
			this.AddElementFieldInfo("RollupDefinitionEntity", "RollupDefinitionId", typeof(System.Int32), true, false, false, false,  (int)RollupDefinitionFieldIndex.RollupDefinitionId, 0, 0, 10);
			this.AddElementFieldInfo("RollupDefinitionEntity", "SortOrder", typeof(System.Int32), false, false, false, false,  (int)RollupDefinitionFieldIndex.SortOrder, 0, 0, 10);
			this.AddElementFieldInfo("RollupDefinitionEntity", "SyncStatus", typeof(System.Byte), false, false, false, false,  (int)RollupDefinitionFieldIndex.SyncStatus, 0, 0, 3);
			this.AddElementFieldInfo("RollupDefinitionEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)RollupDefinitionFieldIndex.TimeStamp, 8, 0, 0);
		}
		/// <summary>Inits TableDataChangeEntity's FieldInfo objects</summary>
		private void InitTableDataChangeEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(TableDataChangeFieldIndex), "TableDataChangeEntity");
			this.AddElementFieldInfo("TableDataChangeEntity", "AreaId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)TableDataChangeFieldIndex.AreaId, 0, 0, 10);
			this.AddElementFieldInfo("TableDataChangeEntity", "CellId", typeof(Nullable<System.Int32>), false, false, false, true,  (int)TableDataChangeFieldIndex.CellId, 0, 0, 10);
			this.AddElementFieldInfo("TableDataChangeEntity", "LastChanged", typeof(System.DateTime), false, false, false, false,  (int)TableDataChangeFieldIndex.LastChanged, 0, 0, 0);
			this.AddElementFieldInfo("TableDataChangeEntity", "TableDataChangeId", typeof(System.Int32), true, false, false, false,  (int)TableDataChangeFieldIndex.TableDataChangeId, 0, 0, 10);
			this.AddElementFieldInfo("TableDataChangeEntity", "TableName", typeof(System.String), false, false, false, false,  (int)TableDataChangeFieldIndex.TableName, 30, 0, 0);
			this.AddElementFieldInfo("TableDataChangeEntity", "TimeStamp", typeof(System.Byte[]), false, false, false, false,  (int)TableDataChangeFieldIndex.TimeStamp, 8, 0, 0);
		}
		
	}
}




